import {axios} from '@/utils/request'

export function queryStation (parameter) {
  return axios({
    url: '/station/query',
    method: 'post',
    data: parameter
  })
}

export function addStation (parameter) {
  return axios({
    url: '/station/add',
    method: 'post',
    data: parameter
  })
}

export function editStation (parameter) {
  return axios({
    url: '/station/update',
    method: 'post',
    data: parameter
  })
}

export function removeStation (parameter) {
  return axios({
    url: '/station/remove',
    method: 'post',
    data: parameter
  })
}

export function listStation (parameter) {
  return axios({
    url: '/station/listStation',
    method: 'post',
    data: parameter
  })
}
